package com.thymeleaf.demo.service;

import com.thymeleaf.demo.model.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.thymeleaf.demo.myexception.MyExcption;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sunny
 * @since 2020-12-22
 */
public interface UserService extends IService<User> {
    List<Map> getUserList();

    Boolean insertUser(User user) throws Exception;
}
